<?php defined("MAIN_DIR") or die("No direct access"); ?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
    <link rel="stylesheet" href="/files/css/styles.css">
    <script type="text/javascript" src="/files/js/jquery-1.7.1.min.js"></script>
    <script type="text/javascript" src="/files/js/scripts.js"></script>
	<title><?php
		echo isset($page_title) ? $page_title : "Цитаты";
	?></title>
</head>
	<body>
		<div id="head">
			<a href="/"><img src='/files/img/logo.png' /></a>
            <?php
                if ($user->isAdmin()){
                    echo "<a id='super-link' href='/admin/'>Творить добро!</a>";
                }
            ?>
		</div>
        <div id="content">